﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CardLightEdit.aspx.cs"
    Inherits="LGSVR_WEB.terminal.CardLightEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="/skins/default/css/web.css" rel="stylesheet" type="text/css" />
    <script src="/skins/default/js/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="/skins/default/js/common.js" type="text/javascript"></script>
    <script src="/skins/default/js/terminal.js" type="text/javascript"></script>
    <link href="../skins/default/css/tablecloth.css" rel="stylesheet" type="text/css" />
    <script src="../calendar/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            //亮度
            $("#<%=dropActCount.ClientID %>").change(function () {
                var len = $(this).val();
                createLightTr(len);
            });
           
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="ClientMsg">
        <%=MsgContent%></div>
    <div id="MainBody">
        <div class="editnav">
            位置： <a href="CardGroupList.aspx">终端组管理</a>&nbsp;&nbsp;>>&nbsp;&nbsp;<span class="current">亮度设置</span></div>
             
    </div>
    <br />
   有效亮度时段：
    <asp:DropDownList runat="server" ID="dropActCount" >
    </asp:DropDownList>
    <table cellpadding="0" cellspacing="0" id="tbLight" width="600px">
        <tr>
            <th>
            </th>
            <th>
                开始时间
            </th>
            <th>
                亮度值
            </th>
            <th>
                描述
            </th>
        </tr>
        <asp:Repeater ID="rept" runat="server">
            <ItemTemplate>
                <tr>
                    <td>
                        <%#Eval("RowID") %>
                        .
                    </td>
                    <td>
                        <input type='text' style='width: 80px' name='txtTimeBegin<%#Eval("RowID") %>' class="Wdate" value='<%#Eval("timeBegin") %>' onfocus="WdatePicker({dateFmt:'HH:mm:ss'})" />
                    </td>
                    <td>
                        <input type='text' style='width: 40px' name='txtLightType<%#Eval("RowID") %>' value='<%#Eval("lightType") %>' onkeyup='IsNumeric(this)' />
                    </td>
                    <td>
                        <input type='text' style='width: 40px' name='txtContent<%#Eval("RowID") %>' value='<%#Eval("content") %>' />
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
      <div class="clear">
    </div>
    <div class="btnEdit">
        <asp:Button ID="btnSave" runat="server" Text="保 存" OnClick="btnSave_Click" />
        <asp:Button ID="btnBack" runat="server" Text="返 回" OnClick="btnBack_Click" />
    </div>
  
    </form>
</body>
</html>
